package com.homedo.microservice.open.service.gateway.alert.support;

import org.springframework.util.Assert;

public class CurAlertingThreadLocal extends ThreadLocal<Integer> {
    private final String name;

    public CurAlertingThreadLocal(String name) {
        Assert.hasText(name, "Name must not be empty");
        this.name = name;
    }

    public String toString() {
        return this.name;
    }
}
